//配置路由
import { createRouter, createWebHistory } from 'vue-router'
const routes = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../views/Home.vue')
    },
    {
        path: '/Login',
        name: 'Login',
        component: () => import('../views/Login.vue')
    },
    {
        path: '/FixUsers',
        name: 'FixUsers',
        component: () => import('../views/FixUsers.vue')

    },
    {
        path: '/MarkDown/:id',
        name: 'MarkDown',
        component: () => import('../views/MarkDown.vue')

    },
    {
        path: '/FixBlog',
        name: 'FixBlog',
        component: () => import('../views/FixBlog.vue')

    },
    {
        path: '/show/:id',
        name: 'show',
        component: () => import('../views/show.vue')

    },
    {
        path: '/regist',
        name: 'regist',
        component: () => import('../views/regist.vue')

    },
]
const router = createRouter({
    history: createWebHistory("/"),
    routes: routes,
})


/**

 - 输出对象
 */
export default router;